package com.fin.zw.aiqas.model.response;

import com.fin.zw.aiqas.entity.RoleInfo;
import com.fin.zw.aiqas.enums.Sex;
import com.fin.zw.aiqas.enums.Status;
import com.fin.zw.aiqas.enums.UserStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.Set;

@Data
public class UserInfoResponse {

    private Long id;//账号id

    private String name;//用户名称

    private String phone;//电话号

    private Sex sex;//性别

    private Status status;//用户状态

    private Long accountId;//账号id

    private String accountName;//登录账号

    private UserStatus accountStatus;//账号状态

    private Set<RoleInfo> roleInfoSet;

    private DepartmentResponse department;

    @ApiModelProperty("操作时间")
    private Date createTime;

    @ApiModelProperty("操作人姓名")
    private String operatorRealName;

    @ApiModelProperty("分机号")
    private String extNumber; //分机号
}
